﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using System.IO;
using Suzsoft.Smart.EntityCore;
using ESOL.Common.Entity;

namespace ESOL.Common.Entity
{
    
    [DataContract]
    public class WfQueryCondition
    {
        [DataMember]
        public string curUserId { set; get; }
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public string txtName { set; get; }
        [DataMember]
        public int cbIsActive { set; get; }
    }

    [DataContract]
    public class FrmMaintainWf
    {
        [DataMember]
        public string wfId { set; get; }
        [DataMember]
        public string txtName { set; get; }
        [DataMember]
        public string txtURL { set; get; }
        [DataMember]
        public int cbIsActive { set; get; }
        [DataMember]
        public string txtCreatedBy { set; get; }
        [DataMember]
        public string txtCreatedPerson { set; get; }
        [DataMember]
        public DateTime txtCreatedDate { set; get; }
        [DataMember]
        public string txtUpdatedBy { set; get; }
        [DataMember]
        public string txtUpdatedPerson { set; get; }
        [DataMember]
        public DateTime txtUpdatedDate { set; get; }

    }

    [DataContract]
    public class TabQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public string txtTabName { set; get; }
        [DataMember]
        public string txtFormName { set; get; }
        [DataMember]
        public string txtWfName { set; get; }

    }

    [DataContract]
    public class FileQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int isActive { set; get; }
        [DataMember]
        public DateTime createdDate { set; get; }
        [DataMember]
        public string createdBy { set; get; }
        [DataMember]
        public string name { set; get; }
        [DataMember]
        public string type { set; get; }
        [DataMember]
        public string deptNo { set; get; }
        [DataMember]
        public string docNo { set; get; }
        [DataMember]
        public string fileNo { set; get; }
        [DataMember]
        public string ver { set; get; }
        [DataMember]
        public string controlType { set; get; }
        [DataMember]
        public string fileExistType { set; get; }
        [DataMember]
        public string status { set; get; }
    }


    public partial class SysPeriodEntity
    {
        [DataMember]
        public string DayOfWeek { set; get; }
        [DataMember]
        public DateTime PeriodDate { set; get; }
    }


    [DataContract]
    public  class DTOSysFileEntitys : BaseDTO
    {
        [DataMember]
        public List<SysFileEntity> result { set; get; }
       
    }

    [DataContract]
    public class ImportTemplateException
    {
        [DataMember]
        public string SysExpInfo { set; get; }
        [DataMember]
        public string CustomExpInfo { set; get; }
        [DataMember]
        public string DataCheckInfo { set; get; }
    }

}
